package com.handydata.antifraud.service;

import com.handydata.common.exception.SysException;
import com.handydata.antifraud.bo.alarmruledef.AlarmRuleDefReqBO;
import com.handydata.antifraud.bo.alarmruledef.AlarmRuleDefResBO;

/**
 * 报警规则定义表Service接口
 * 
 * @author guolong
 * @email jishu@handy-data.cn
 * @date 2019-08-18 21:55:40
 */
public interface AlarmRuleDefService {

	/**
	 * 创建报警规则定义表
	 *
	 * @param req 请求BO对象
	 * @return
	 */
	AlarmRuleDefResBO createAlarmRuleDef(AlarmRuleDefReqBO req) throws SysException;

	/**
	 * 修改报警规则定义表
	 *
	 * @param req 请求BO参数
	 * @return
	 */
	AlarmRuleDefResBO modifyAlarmRuleDef(AlarmRuleDefReqBO req) throws SysException;

	/**
	 * 删除报警规则定义表
	 *
	 * @param req 请求BO参数
	 * @return
	 */
	AlarmRuleDefResBO deleteAlarmRuleDef(AlarmRuleDefReqBO req) throws SysException;

	/**
	 * 查询报警规则定义表
	 *
	 * @param req 请求BO参数
	 * @return
	 */
	AlarmRuleDefResBO queryAlarmRuleDef(AlarmRuleDefReqBO req) throws SysException;

	/**
	 * 加载规则到缓存
	 *
	 * @return
	 */
	void loadAlarmRuleToCache() throws SysException;


}